package vo;

import java.util.HashSet;
import java.util.Set;

/**
 * Goodtype entity. @author MyEclipse Persistence Tools
 */

public class Goodtype implements java.io.Serializable {

	// Fields

	private Integer id;
	private String goodtypename;
	private String description;
	private Set goods = new HashSet(0);

	// Constructors

	/** default constructor */
	public Goodtype() {
	}

	/** minimal constructor */
	public Goodtype(String goodtypename) {
		this.goodtypename = goodtypename;
	}

	/** full constructor */
	public Goodtype(String goodtypename, String description, Set goods) {
		this.goodtypename = goodtypename;
		this.description = description;
		this.goods = goods;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGoodtypename() {
		return this.goodtypename;
	}

	public void setGoodtypename(String goodtypename) {
		this.goodtypename = goodtypename;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set getGoods() {
		return this.goods;
	}

	public void setGoods(Set goods) {
		this.goods = goods;
	}

}